package cn.jiyun.mapper;

import cn.jiyun.pojo.Clock;
import cn.jiyun.pojo.Employees;
import cn.jiyun.pojo.dto.BaseDto;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.List;

@Mapper
public interface ClockMapper extends BaseMapper<Clock> {

//    Clock login(Clock user);



//    Clock tongji();
    List<Clock> select();

    List<Clock> all();



    void updatefase(@Param("base") BaseDto baseDto);


    Employees getEmployees(Integer id);

    void add(@Param("clock") Clock clock);

    List<Clock> findById(String format1);

    Employees findByIdClock(Integer id);
}
